<div class="page-header"><h1>Edit groupuser</h1></div>

<% form_for(groupuser, {action: path_to.GroupUser(GroupUser), method: 'PUT', id: "groupuser_form", class: 'form-horizontal'}, function (form) { %>
    <%- partial('groupusers/form.ejs', {locals: {form: form, groupuser: groupuser}}) %>
    <div class="form-actions">
        <%- form.submit('<i class="icon-ok icon-white"></i> Update groupuser', {class: 'btn btn-primary'}) %> or
        <%- link_to('Cancel', path_to.GroupUser(GroupUser), {class: 'btn'}) %>
    </div>
<% });%>